
using UnityEngine;


namespace Yoozoo.Gameplay.RTS
{
    /// <summary>
    /// 场景GameObject树
    /// </summary>
    public class RTSTestMarch
    {
        internal const int WIN_WIDTH = 5000;
        internal const int WIN_HEIGHT = 720;

        private static GameObject m_GameObject = null;

        private static Vector2 scrollPosition;

        private static Rect windowRect = new Rect(200, 100, WIN_WIDTH, WIN_HEIGHT);

        enum GO_TYPE
        {
            GO_NONE = 0,
            GO_FGUI,
            GO_SCENE,
        }


        public static void OnGUI()
        {
            /*GUILayout.BeginArea(windowRect, "MarchList", GUI.skin.window);
            
            scrollPosition = GUILayout.BeginScrollView(scrollPosition, false, false);

            var list = MarchManager.GetAllMarchList();
            for (int i = 0; i < list.Count; i++)
            {
                OnGUIMarch(list[i]);
            }

            GUILayout.EndScrollView();

            GUILayout.EndArea();*/
        }

        /*private static void OnGUIMarch(MarchObject marchObject)
        {
            GUILayout.BeginHorizontal();

            // 进入子物件
            
            GUILayout.Label(marchObject.Info.tid.ToString() + " " + marchObject.Position + " " + marchObject.Info.troopMarch.marchStatus + " " + marchObject.IsSelect(),GUILayout.Width(200));
            GUILayout.Space(20);
            GUILayout.BeginVertical();
            if (GUILayout.Button("Select",GUILayout.Width(100)))
            {
                Timers.inst.CallLater((o) =>
                {
                    GameStart.eventManager.TriggerEvent(ClientEvent.RTSSelectMarch,marchObject.Info.tid);
                });
            }
            GUILayout.EndVertical();
            GUILayout.Space(20);
            GUILayout.EndHorizontal();
        }*/
        
        
    }
}